<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <!-- Import style -->
    <link rel="stylesheet" href="//unpkg.com/element-plus/dist/index.css" />
    <!-- Import Vue 3 -->
    <script src="//unpkg.com/vue@3"></script>
    <!-- Import component library -->
    <script src="http://unpkg.com/element-plus"></script>
</head>

<body>
    <div id="app">
        <el-row>
            <el-col :span="8"></el-col>
            <el-col :span="8">
                <h1>学习寄语</h1>
                <el-form-item label="姓名">
                    <el-input v-model="name" />
                </el-form-item>
                <el-form-item label="年龄">
                    <el-input v-model="age" />
                </el-form-item>
                <el-form-item label="身高">
                    <el-input v-model="height" />
                </el-form-item>
                <el-form-item>
                    <el-
                </el-form-item>

                <!-- <el-form-item label="寄语" v-if="height >= 180">
                    <el-input v-model="兄弟呀，再有八块腹肌会更好" type="success" />
                </el-form-item>
                <el-form-item label="寄语" v-if="height >= 170">
                    <el-input v-model="该用功学习了，不然没对象啦" type="info" />
                </el-form-item>
                <el-form-item label="寄语" v-if="height >= 160">
                    <el-input v-model="兄弟啊，咱身高一般，但智商高啊" type="warning" />
                </el-form-item>
                <el-form-item label="寄语" v-else>
                    <el-input v-model="别理他们，咱浓缩的都是精华" type="error" /> -->
            </el-col>
            <el-col :span="8"></el-col>
        </el-row>
    </div>
</body>
<script>
    const info = {
        data() {
            return {
                name: "小明",
                age: 18,
                height: 180,
            }
        }
    }
    Vue.createApp(info).use(ElementPlus).mount("#app")
</script>

</html>